﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="right_notice.ascx.cs"
    Inherits="right_notice" %>
<%@ Register TagPrefix="asp" Namespace="System.Web.UI.MobileControls" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<link href="css/css.css" rel="StyleSheet" type="text/css" />
<link href="js/util/jquery-search/jquery-search.css" rel="StyleSheet" type="text/css" />
<div style="width: 287px; float: right; margin:0 5px;background-color: #ffffff;border: solid 1px #ccc;" class="W_login_form">
    <div style=" margin: 0 30px; position:relative;">
        <p class="login-logo">登录源折扣</p>
        <asp:Panel ID="panellogin" runat="server">
            <div>
                <div class="inp username">
                    <asp:TextBox ID="username" CssClass="W_input" MaxLength="128" autocomplete="off" runat="server"></asp:TextBox>
                    <span>请输入用户名</span>
                </div>
                <div class="inp password">
                    <asp:TextBox ID="userpassword" TextMode="Password" CssClass="W_input" runat="server"></asp:TextBox>
                    <span>请输入密码</span>
                </div>
                <div class="inp password" style="position:relative;">
                    <asp:TextBox ID="txtCheckCode" Width="170px" CssClass="W_input" autocomplete="off" runat="server"></asp:TextBox>
                    <span>请输入验证码</span>
                    <div style="position:absolute;right:7px; top:3px;">
                        <asp:Image ID="check_pic" ImageUrl="CheckCode.aspx" runat="server" /></div>
                    <div style="clear:both"></div>
                </div>
            </div>
            <div style="position:relative;text-align: left;" class="inp">                
                <label style="color: #8c8c8c;"><asp:CheckBox ID="isautologinornot" Text="" AutoPostBack="false" runat="server" />下次自动登录</label>
                <div style="position:absolute;right:0; top:0;">
                    <a class="bluelink1" target="_blank" href="">忘记密码</a>
                </div>
            </div>
            <div style="text-align:center;margin-bottom:6px;">
                <asp:Button ID="userloginbutton" runat="server" CssClass="login-btn" ValidationGroup="right" OnClientClick="if(!page.checkLogin()) return false;" OnClick="userloginbutton_Click" UseSubmitBehavior="False" />
            </div>
            <div class="regnow">
                <input type="button" value="立即注册帐号" class="input-button login-btn reg-btn" id="regnow" onclick="window.location='userregister.aspx'" />
            </div>
        </asp:Panel>
        <asp:Label ID="lblMessage" onclick="$(this).hide()" CssClass="alertMessage" runat="server" Visible="false" Text=""></asp:Label>
        <asp:Panel ID="panellogout" runat="server">
            <div style="line-height:36px;margin-bottom:24px;">
                <asp:Label ID="login_UserName" runat="server"></asp:Label>
                <asp:Button ID="userlogoutbutton" runat="server" CssClass="input-button login-btn logout-btn" ValidationGroup="right" CausesValidation="true" OnClick="userlogoutbutton_Click" Text="退出账号" />
            </div>
        </asp:Panel>
            <%--<asp:ValidationSummary ID="ValidationSummary1" HeaderText="错误信息：" ValidationGroup="right"
                    ShowMessageBox="false" DisplayMode="BulletList" runat="server" />--%>
            
    </div>
    <div style="clear:both"></div>
    <div style="width: 277px; height: 277px; border-color: #CCCCCC; border-style: solid;
        border-width: 1px; margin-left: auto; margin-right: auto; margin-top: 10px; background-color: #ffffff;
        text-align: center;">
        <a href='http://p.yiqifa.com/s?sid=ff9e47b209547ffd&pid=322519&wid=593790&vid=28649&cid=4459&lid=120069&euid=&vwid='
            target='_blank'>
            <img border='0' width='277px' height='277px' src='http://p.yiqifa.com/image?sid=ff9e47b209547ffd&pid=322519&wid=593790&vid=28649&cid=4459&lid=120069&euid=&vwid='>
        </a>
    </div>
    <div style="width: 277px; height: 277px; border-color: #CCCCCC; border-style: solid;
        border-width: 1px; margin-left: auto; margin-right: auto; margin-top: 10px; background-color: #ffffff;
        text-align: center;">
        <a href='http://p.yiqifa.com/s?sid=58c49baa4bb212f9&pid=322519&wid=593790&vid=52661&cid=4983&lid=154072&euid=&vwid='
            target='_blank'>
            <img border='0' width='277px' height='277px' src='http://p.yiqifa.com/image?sid=58c49baa4bb212f9&pid=322519&wid=593790&vid=52661&cid=4983&lid=154072&euid=&vwid='>
        </a>
    </div>
    <div style="width: 277px; height: 277px; border-color: #CCCCCC; border-style: solid;
        border-width: 1px; margin-left: auto; margin-right: auto; margin-top: 10px; background-color: #ffffff;
        text-align: center;">
        <a href='http://p.yiqifa.com/s?sid=fecafd237aa34e72&pid=322519&wid=593790&vid=364293&cid=7001&lid=154071&euid=&vwid='
            target='_blank'>
            <img border='0' width='277px' height='277px' src='http://p.yiqifa.com/image?sid=fecafd237aa34e72&pid=322519&wid=593790&vid=364293&cid=7001&lid=154071&euid=&vwid='>
        </a>
    </div>
    <%--
        <!--广告展示层1-->
        <div style="width:277px; height:277px; border-color:#CCCCCC; border-style:solid; border-width:1px; margin-left:auto; margin-right:auto; margin-top:10px; background-color:#ffffff; text-align:center;">
            <script type="text/javascript"><!--
                google_ad_client = "ca-pub-8555966151719587";
                /* 广告单元1 */
                google_ad_slot = "2355960538";
                google_ad_width = 250;
                google_ad_height = 250;
                //-->
                </script>
                <script type="text/javascript"
                src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
            </script>
        </div>
    --%>
    <%--
        <!--广告展示层2-->
        <div style="width:277px; height:277px; border-color:#CCCCCC; border-style:solid; border-width:1px; margin-left:auto; margin-right:auto; margin-top:0px; background-color:#ffffff; text-align:center;">
            <script type="text/javascript"><!--
                google_ad_client = "ca-pub-8555966151719587";
                /* 广告单元2 */
                google_ad_slot = "3693092933";
                google_ad_width = 250;
                google_ad_height = 250;
                //-->
                </script>
                <script type="text/javascript"
                src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
            </script>
        </div>
    --%>
    <script type="text/javascript" src="js/jquery-1.6.1.min.js"></script>
    <script type="text/javascript" src="js/util/jquery-search/jquery-search.js"></script>
    <script type="text/javascript" src="js/page/login.js"></script>
    <script type="text/javascript">
        page.userNameId = "<%= username.ClientID  %>";
        page.passwordId = "<%=  userpassword.ClientID  %>";
        page.checkCodeId = "<%= txtCheckCode.ClientID  %>";
    </script>
</div>
